#pragma once
#include <iostream>
#include <vector>

using namespace std;

typedef int INTEGER;
typedef int INDEX;
typedef string STRING;
typedef bool BOOLEAN;


class TableNode{
private:
	INDEX _index;
	STRING _varName;
	STRING _extraInfo;
	INDEX _startLine;
	INDEX _endLine;
public:
	TableNode(INDEX index, STRING varNAme, STRING extraInfo);
	INDEX getIndex();
	BOOLEAN setIndex(INDEX index);
	STRING getVarName();
	BOOLEAN setVarName(STRING varName);
	STRING getExtraInfo();
	BOOLEAN setExtraInfo(STRING extraInfo);
	BOOLEAN setStartLine(INDEX startLine);
	BOOLEAN setEndLine(INDEX endLine);
	INDEX getStartLine();
	INDEX getEndLine();
};
